package com.xxx.service;

import com.xxx.entity.Books;

import java.util.List;

public interface BookService {

    Books getById(Integer id);
    List<Books> getAll();
    List<Books> getByMenuId(Integer menuId);
    int saveBook(Books books);
    int update(Books books);
    int delete(Integer... id);
    int deleteByMenuId(Integer menuId);
}
